package com.liuche.framework.common.enums;

import com.liuche.framework.common.exception.BaseExceptionInterface;
import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum UserErrorEnum implements BaseExceptionInterface {

    // ----------- 登录异常状态码 -----------
    USER_CODE_VERIFY_ERROR("AUTH-10001", "验证码已过期或者不正确！"),
    USER_VERIFY_ERROR("AUTH-10002", "用户不存在！"),
    USER_PWD_ERROR("AUTH-10003", "密码错误！"),
    ;

    // 异常码
    private final String errorCode;
    // 错误信息
    private final String errorMessage;

}